<?php
defined('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files.  Please see the user guide for info:
|
|	http://codeigniter.com/user_guide/general/hooks.html
|
*/
$hook['post_controller_constructor'] = array(
		'class'    => 'Website',//钩子调用的类名，可以为空
		'function' => 'getWebsite',//钩子调用的函数名
		'filename' => 'Website.php',//该钩子的文件名
		'filepath' => '../share/hooks',//钩子的目录
);